package com.yujn.demo.controller;

import cn.hutool.core.date.DateUtil;
import com.yujn.demo.bean.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @description:
 * @author: Yujn
 * @create: 2020-09-11 14:58
 **/
@RequestMapping("/demo")
@RestController
public class DemoController {

    @GetMapping("/getStr")
    public Result getStr(){
        Result<Object> result = new Result<>();
        result.setMsg("hello jenkins 第1次修改");
        return result;
    }
}
